//
//  InformationDetailVC.m
//  RedManStock
//
//  Created by lanou3g on 15/7/25.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "InformationDetailVC.h"

@interface InformationDetailVC ()

@end

@implementation InformationDetailVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    UIWebView *webView = [[UIWebView alloc]initWithFrame:self.view.bounds];
    webView=[[UIWebView alloc]initWithFrame:self.view.bounds];
    [self.view addSubview:webView];
    
    
#warning 这里有问题，要分情况，是首页跳过来，还是分析师详情页跳过来的，无论是哪个，都要给self.webUrl赋值

    
    NSURL *url=[NSURL URLWithString:self.information.url];
    NSURLRequest *request=[NSURLRequest requestWithURL:url];
    [webView loadRequest:request];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
